package com.etc.service;

import com.etc.entity.User;
import com.etc.util.Message;
import com.etc.util.PageData;

/**
 * Created by Administrator on 2019/5/21.
 */
public interface UserService {
    public User getUserByuserid(Integer userid);

    User findUserByTel(String usertel);

    boolean addUser(User user);

    User findUserByUsername(String username);

    Message findByUsernameAndUserpassword(String username, String userpassword);

    /**
     *
     * @param page
     * @param limit
     * @param content
     * @return
     */
    public PageData<User> getPageData(Integer page, Integer limit, String content);

    /**
     * 修改用户信息
     * @param user 用户对象
     * @return
     */
    public boolean updateUser(User user);





}
